package com.ruixi.spring.auto;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Test {
    public static void main(String[] args) {
        ApplicationContext ac = new ClassPathXmlApplicationContext("conf/applicationContext.xml");
        Emp emp = ac.getBean("emp", Emp.class);
        System.out.println(emp);
    }
}
